package org.sunyaxing.transflow.transflowapp.factory;

import org.sunyaxing.transflow.api.extensions.ExtensionLifecycle;
import org.sunyaxing.transflow.api.extensions.base.ExtensionContext;

import java.util.Map;

public interface PluginManager {
    public ExtensionLifecycle createByPluginId(ExtensionContext extensionContext, String pluginId);

    Map<String, Class<? extends ExtensionLifecycle>> getPluginsMap();

    Class<? extends ExtensionLifecycle> getPlugin(String pluginId);
}
